#pragma once
#ifndef __DIELECTRIC_HPP__
#define __DIELECTRIC_HPP__

#include "Shader.hpp"
#include "intersections/intersections.hpp"

namespace SimplePathTracer
{
    class Dielectric : public Shader
    {
    private:
        float ior;
        Vec3 absorbed;

    public:
        Dielectric(Material& material, vector<Texture>& textures);
        Scattered shade(const Ray& ray, const Vec3& hitPoint, const Vec3& normal) const;
    };
}

#endif